﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;


//{
	/// <summary>
	/// 系统配置
	/// </summary>
	[Serializable]
	public partial class sys_config
	{
		public sys_config()
		{
			this.type = ConfigType.单项配置;
			this.score = 0.00m;
			this.added = DateTime.Now;
			this.modified = DateTime.Now;
		}

		/// <summary>
		/// 主键Id
		/// </summary>
		public string id { get;set; }

		/// <summary>
		/// 配置名称
		/// </summary>
		public string tit { get;set; }

		/// <summary>
		/// 配置类型(0单项配置、1多项配置)
		/// </summary>
		public ConfigType type { get;set; }

		/// <summary>
		/// Key名称
		/// </summary>
		public string key { get;set; }

		/// <summary>
		/// 哈希字段
		/// </summary>
		public string hash_field { get;set; }

		/// <summary>
		/// Value值
		/// </summary>
		public string value { get;set; }

		/// <summary>
		/// Value单位(如：分钟、KB)
		/// </summary>
		public string value_unit { get;set; }

		/// <summary>
		/// Value值类型(ConfigValueType:text/number/datetime/textarea)
		/// </summary>
		public ConfigShowType show_type { get;set; }

		/// <summary>
		/// 可选Value值（如：时/分/秒）
		/// </summary>
		public string value_select { get;set; }

		/// <summary>
		/// 排序
		/// </summary>
		public decimal score { get;set; }

		/// <summary>
		/// 添加时间
		/// </summary>
		public DateTime added { get;set; }

		/// <summary>
		/// 添加人
		/// </summary>
		public long adduid { get;set; }

		/// <summary>
		/// 修改人
		/// </summary>
		public DateTime modified { get;set; }

		/// <summary>
		/// 修改时间
		/// </summary>
		public long? modifieduid { get;set; }

	}
//}
